--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Commit bf967cdca9ee085b7c28be8cfbbc3564150e0daa
Parents : b6a8ae9
Author : Ivan <ivan@quad4.io>
Signature : Signature validation error
Date : 2026-04-16T20:42:03-05:00
chore(docker): replace corepack with npm for pnpm installation in Dockerfile
Changes
Diff
diff --git a/Dockerfile b/Dockerfile
index 3f134d7e..fb70329e 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -14,7 +14,7 @@ FROM ${NODE_IMAGE}@${NODE_HASH} AS build-frontend
WORKDIR /src
COPY package.json pnpm-lock.yaml vite.config.js tailwind.config.js postcss.config.js ./
COPY meshchatx/src/frontend ./meshchatx/src/frontend
-RUN corepack enable && corepack prepare pnpm@10.32.1 --activate && \
+RUN npm install -g pnpm@10.32.1 && \
pnpm install --frozen-lockfile && \
pnpm run build-frontend
──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────